package com.example.mapper;

import com.example.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Repository注解，不加也行，但是引用mapper会报错！
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/6/15 23:34
 */
@Repository
public interface UserMapper
{
    User queryUserByName(@Param("username") String name, @Param("password") String password);
}
